const path = require('path')
const fpath = '/a/b/c/index.html'

// const Star = path.basename(fpath)
// console.log(Star);

const Star = path.basename(fpath,'html')
console.log(Star);